package com.main.service;

import com.main.dao.UserDao;
import com.main.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lyl
 * @version 1.0
 * @date 2019/5/21
 */

public interface UserService {

    List<User> getUserList();

    int register(User user);

    User select(Long id);

    Boolean login(String username, String password);

    int update(User user);

    int delete(Long id);

    Boolean webLogin(String email, String password);
}
